/*
 * @Author: Mr · Lei
 * @Date: 2024-12-09 18:47:11
 * @LastEditors: OBKoro1
 * @LastEditTime: 2024-12-09 18:47:11
 * @FilePath: \ruituan-tuan-Agent\src\api\team.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by 四川开局红科技有限公司, All Rights Reserved. 
 */

import axios from 'axios';

export interface PolicyRecord {
  id: string;
}
export interface PolicyParams extends Partial<PolicyRecord> {
  page: number;
  limit: number;
}

// 团队列表
export function GetMyTeamListApi(params: any) {
  return axios.get('/agent/user/list', { params });
}

// 团队收益
export function GetMyIncomeListApi(params: any) {
  return axios.get('/agent/worker_money_log/list', { params });
}
